package com.letoken.platform.repo.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.letoken.platform.repo.app.po.AdminFundLevelConfig;
import org.apache.ibatis.annotations.Select;
import org.checkerframework.checker.index.qual.SameLen;

import java.util.List;

/**
 * <p>
 * 推广大使配置 Mapper 接口
 * </p>
 *
 * @author 作者
 * @since 2023-08-26
 */
public interface AdminFundLevelConfigMapper extends BaseMapper<AdminFundLevelConfig> {
    @Select("select * from admin_fund_level_config a where `condition`>0 ORDER BY `level` desc")
   List<AdminFundLevelConfig> getLevelList();

    @Select("SELECT  *  FROM admin_fund_level_config")
    List<AdminFundLevelConfig> getList();


    @Select("SELECT  *  FROM admin_fund_level_config where weight_rate>0 order by id desc")
    List<AdminFundLevelConfig> getWeightDate();
}
